package com.maybach.dubbo.api.model;

/**
 * Created by chris on 16/3/29.
 */

import com.maybach.util.query.support.BaseQuery;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class OperateLogModel implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * This field corresponds to the database column b2b_operate_log.id
	 */
	private Long id;

	/**
	 * This field corresponds to the database column b2b_operate_log.user_id
	 */
	private Long userId;

	/**
	 * This field corresponds to the database column b2b_operate_log.report_url
	 */
	private String reportUrl;

	/**
	 * This field corresponds to the database column
	 * b2b_operate_log.actor_result
	 */
	private String actorResult;

	/**
	 * This field corresponds to the database column b2b_operate_log.act_type
	 */
	private String actType;

	/**
	 * This field corresponds to the database column b2b_operate_log.memo
	 */
	private String memo;

	/**
	 * This field corresponds to the database column b2b_operate_log.gmt_create
	 */
	private Date gmtCreate;

	/**
	 * This field corresponds to the database column
	 * b2b_operate_log.gmt_modified
	 */
	private Date gmtModified;

	/**
	 * 查询开始日期
	 */
	private Date startDate;

	/**
	 * 查询结束时间
	 */
	private Date endDate;

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	/**
	 * 页大小
	 */
	private Integer pageSize = BaseQuery.DEFAULT_PAGE_SIZE;

	/**
	 * 页码
	 */
	private Integer pageNo = BaseQuery.DEFAULT_PAGE;

	public Integer getPageNo() {
		return pageNo;
	}

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getReportUrl() {
		return reportUrl;
	}

	public void setReportUrl(String reportUrl) {
		this.reportUrl = reportUrl;
	}

	public String getActorResult() {
		return actorResult;
	}

	public void setActorResult(String actorResult) {
		this.actorResult = actorResult;
	}

	public String getActType() {
		return actType;
	}

	public void setActType(String actType) {
		this.actType = actType;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
	}
}
